home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / id002.dxr / 00039.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  695 b   |  32 lines

  1. on exitFrame
  2.   global population, variation, inheritance
  3.   repeat with n = 8 to 10
  4.     handcursor(n)
  5.   end repeat
  6.   if (population = 1) and (variation = 1) and (inheritance = 1) then
  7.     sound stop 1
  8.     set population to 0
  9.     set variation to 0
  10.     set inheritance to 0
  11.     cursorOff()
  12.     unLoad()
  13.     go(95)
  14.   end if
  15.   if rollOver(4) = 1 then
  16.     set the visible of sprite 20 to 1
  17.   else
  18.     set the visible of sprite 20 to 0
  19.   end if
  20.   if rollOver(5) = 1 then
  21.     set the visible of sprite 21 to 1
  22.   else
  23.     set the visible of sprite 21 to 0
  24.   end if
  25.   if rollOver(6) = 1 then
  26.     set the visible of sprite 22 to 1
  27.   else
  28.     set the visible of sprite 22 to 0
  29.   end if
  30.   go(the frame)
  31. end
  32.